package com.qf.mapper;/*
 *徐韬
 *2021/11/3
 *19:49
 */

import com.qf.pojo.TUserRole;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface userroleMapper {
     @Select("select * from t_user_role")
    List<TUserRole> selectAll();
     @Insert("insert into t_user_role(user_id,role_id) values(#{userId},#{roleId})")
     int addUserrole(TUserRole tUserRole);
}
